package com.zzy.backend.controller.user.account;

import com.zzy.backend.service.user.account.InfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author molimark<br />
 * @date: 2023/2/27 19:53<br/>
 * @description: <br/>
 */

@RestController
public class InfoController {
    @Autowired
    private InfoService infoService;

    @GetMapping("/user/account/info/")
    public Map<String,String> getinfo(){
        return infoService.getinfo();
    }
}
